<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="../css/bootstrap.css">
    <script src="../js/jq-1.12.4.js"></script>
    <script src="../js/bootstrap.js"></script>
    <style>
        ul,
        li {
            list-style: none;
        }

        #app>ul>li {
            box-sizing: border-box;
            width: 12%;
            padding: 5px;
            /* border: 1px solid black; */
            float: left;
            text-align: center;
            background-color: #000033;
            color: #ffffff;
            position: relative;
        }

        #app>ul>li>a {
            text-decoration: none;
            color: #ffffff;
            cursor: pointer;
        }

        #app>ul>li:last-of-type {
            width: 16%;
            text-align: left;
        }
    </style>
</head>

<body>
    <div id="app" class="container">
        <ul class="clearfix">
            <li>
                <span class="glyphicon glyphicon-home"></span>
                <span>首页</span>
            </li>
            <li>
                <span class="glyphicon glyphicon-home"></span>
                <span>首页</span>
            </li>
            <li>
                <span class="glyphicon glyphicon-home"></span>
                <span>首页</span>
            </li>
            <li>
                <span class="glyphicon glyphicon-home"></span>
                <span>首页</span>
            </li>
            <li>
                <span class="glyphicon glyphicon-home"></span>
                <span>首页</span>
            </li>
            <li>
                <span class="glyphicon glyphicon-home"></span>
                <span>首页</span>
            </li>
            <li>
                <span class="glyphicon glyphicon-home"></span>
                <span>首页</span>
            </li>
            <li class="dropdown">
                <a class="dropdown-toggle" data-toggle="dropdown" id="list">
                    <span>更多栏目</span>
                    <span class='caret'></span>
                </a>
                <ul class="dropdown-menu" aria-labelledby="list">
                    <li><a href="#">Action</a></li>
                    <li><a href="#">Another action</a></li>
                    <li><a href="#">Something else here</a></li>
                    <!--divider类似与hr，分割符 -->
                    <li role="separator" class="divider"></li>
                    <li><a href="#">Separated link</a></li>
                </ul>
            </li>
        </ul>
    </div>
</body>

</html>